//可以看成二维数组
//初始化时参数为二维数组
let map = new Map([["jack","teacher"],["rose","author"],["alice","nurse"]]);

console.log(map.get("jack"));

map.set("tom","trainer");

//输出map对象信息
console.log(map);
